﻿/*
 * @autor: hectorea
 * @date: 31/07/12
 * @project: LonguestPalindrome
 * 
 */
using System;

namespace LonguestPalindrome
{
    class Program
    {
        static void Main(string[] args)
        {
            string palindrome = "MOMSPEAKENGLISHDADSPEAKMALAYALAMMADAMSPEAKHINDI";

            Console.WriteLine("The lonnguest palindrome in {0} is: {1}", palindrome, palindrome.LonguestPalindrome());
            Console.ReadLine();
        }

       
    }
}
